
include $(top_srcdir)/build/autotools/common.am

EXTRA_DIST = bootsect.S

lib_LTLIBRARIES = $(libkernel_la)

if USE_KERNEL
libkernel_la = libkernel.la
endif

libkernel_la_SOURCES = \
	kernel.c \
	kernel.h \
	multiboot.h \
	$(NULL)
libkernel_la_LDFLAGS = -no-undefined

clean: clean-local
clean-local:
	rm -f bootsect.bin kern.bin kernel.map

